﻿namespace Partner.Surround.Authorization
{
    /// <summary>
    /// 权限命名
    /// </summary>
    public static class PermissionNames
    {
        #region 顶级权限
        public const string Pages = "Pages";
        #endregion

        #region 基础支撑平台
        public const string Pages_Frame = "Pages.Frame";

        #region 租户管理
        public const string Pages_Frame_Tenants = "Pages.Frame.Tenants";
        #endregion

        #region 组织机构
        public const string Pages_Frame_OrganizationUnits = "Pages.Frame.OrganizationUnits";
        public const string Pages_Frame_OrganizationUnits_Create = "Pages.Frame.OrganizationUnits.Create";
        public const string Pages_Frame_OrganizationUnits_Update = "Pages.Frame.OrganizationUnits.Update";
        public const string Pages_Frame_OrganizationUnits_Delete = "Pages.Frame.OrganizationUnits.Delete";
        #endregion

        #region 用户管理
        public const string Pages_Frame_Users = "Pages.Frame.Users";
        public const string Pages_Frame_Users_Create = "Pages.Frame.Users.Create";
        public const string Pages_Frame_Users_Update = "Pages.Frame.Users.Update";
        public const string Pages_Frame_Users_Delete = "Pages.Frame.Users.Delete";
        public const string Pages_Frame_Users_ResetPassword = "Pages.Frame.Users.ResetPassword";
        #endregion

        #region 角色管理
        public const string Pages_Frame_Roles = "Pages.Roles";
        public const string Pages_Frame_Roles_Create = "Pages.Frame.Roles.Create";
        public const string Pages_Frame_Roles_Update = "Pages.Frame.Roles.Update";
        public const string Pages_Frame_Roles_Delete = "Pages.Frame.Roles.Delete";
        #endregion

        #region 系统设置
        public const string Pages_Frame_HostSettings = "Pages.Frame.HostSettings";
        #endregion

        #region 系统维护
        public const string Pages_Frame_Maintenance = "Pages.Frame.Maintenance";
        public const string Pages_Frame_Maintenance_Logs = "Pages.Frame.Maintenance.Logs";
        public const string Pages_Frame_Maintenance_Logs_DownLoad = "Pages.Frame.Maintenance.Logs.DownLoad";
        public const string Pages_Frame_Maintenance_Logs_Refresh = "Pages.Frame.Maintenance.Logs.Refresh";
        #endregion

        #endregion

        #region 基础设施管理
        public const string Pages_Base = "Pages.Base";

        #region 数据字典
        public const string Pages_Base_DataDictionary = "Pages.Base.DataDictionary";
        public const string Pages_Base_DataDictionary_Create = "Pages.Base.DataDictionary.Create";
        public const string Pages_Base_DataDictionary_Delete = "Pages.Base.DataDictionary.Delete";
        public const string Pages_Base_DataDictionary_Update = "Pages.Base.DataDictionary.Update";

        #region 数据字典项
        public const string Pages_Base_DataDictionary_DataDictionaryItem = "Pages.Base.DataDictionary.DataDictionaryItem";
        public const string Pages_Base_DataDictionary_DataDictionaryItem_Create = "Pages.Base.DataDictionary.DataDictionaryItem.Create";
        public const string Pages_Base_DataDictionary_DataDictionaryItem_Delete = "Pages.Base.DataDictionary.DataDictionaryItem.Delete";
        public const string Pages_Base_DataDictionary_DataDictionaryItem_Update = "Pages.Base.DataDictionary.DataDictionaryItem.Update";
        #endregion

        #endregion

        #endregion

        #region A业务模块
        public const string Pages_TaskManage = "Pages.TaskManage";
        #endregion

        #region B业务模块

        #endregion

        #region N业务模块

        #endregion
    }
}
